package com.cowin.sys.model;

import lombok.Data;

import java.util.Date;
import javax.persistence.*;
@Data
@Table(name = "TM_BAS_WORKSHOP")
public class TmBasWorkshop {
    @Id
    @Column(name = "TM_BAS_WORKSHOP_ID")
    private Long tmBasWorkshopId;

    @Column(name = "WORKSHOP_NO")
    private String workshopNo;

    @Column(name = "TM_BAS_PLANT_ID")
    private Long tmBasPlantId;

    @Column(name = "SAP_WORKSHOP_NO")
    private String sapWorkshopNo;

    @Column(name = "WORKSHOP_NAME_C")
    private String workshopNameC;

    @Column(name = "WORKSHOP_NAME_E")
    private String workshopNameE;

    @Column(name = "WORKSHOP_NAME_C_S")
    private String workshopNameCS;

    @Column(name = "WORKSHOP_NAME_E_S")
    private String workshopNameES;

    @Column(name = "MARK_FOR_DEL")
    private Short markForDel;

    @Column(name = "LAST_UPDATE_TIME")
    private Date lastUpdateTime;

    @Column(name = "LAST_UPDATE_USERNAME")
    private String lastUpdateUsername;

    @Column(name = "PID")
    private Integer pid;

    @Column(name = "PID_IS_CLOSED")
    private Short pidIsClosed;

    @Column(name = "MARK_STATUS")
    private Short markStatus;

    @Column(name = "AVI_NO")
    private String aviNo;

    @Column(name = "WORKSHOP_TYPE")
    private String workshopType;
}